package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 加工訂單
 */
public class ProOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 订单序号ID */
    private Long proId;

    /** 订单编号 */
    @Excel(name = "生产订单号：")
    private String orderCode;

    /** 业务单元 */
    @Excel(name = "工厂：")
    private String businessUnit;

    /** 图号 */
    @Excel(name = "产品编码：")
    private String graphid;

    /** 项目名称 */
    @Excel(name = "产品名称：")
    private String proTitle;

    /** 机组编号 */
    @Excel(name = "产品编号：")
    private String unitCode;

    /** 用料部门 */
    @Excel(name = "用料部门：")
    private String deptName;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batchCode;

    /** 计划数量 */
    @Excel(name = "计划数量：")
    private String planNum;

    /** 单位 */
    @Excel(name = "单位：")
    private String unit;

    /** 备注 */
    @Excel(name = "备注：")
    private String remark;

    /**
     * 订单状态
     */

    private Integer status;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getProId() {
        return proId;
    }

    public void setProId(Long proId) {
        this.proId = proId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getBusinessUnit() {
        return businessUnit;
    }

    public void setBusinessUnit(String businessUnit) {
        this.businessUnit = businessUnit;
    }

    public String getGraphid() {
        return graphid;
    }

    public void setGraphid(String graphid) {
        this.graphid = graphid;
    }

    public String getProTitle() {
        return proTitle;
    }

    public void setProTitle(String proTitle) {
        this.proTitle = proTitle;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getBatchCode() {
        return batchCode;
    }

    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }

    public String getPlanNum() {
        return planNum;
    }

    public void setPlanNum(String planNum) {
        this.planNum = planNum;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer state) {
        this.status = state;
    }

    @Override
    public String toString() {
        return "ProOrder{" +
                "proId=" + proId +
                ", orderCode=" + orderCode +
                ", businessUnit='" + businessUnit + '\'' +
                ", graphid='" + graphid + '\'' +
                ", proTitle='" + proTitle + '\'' +
                ", unitCode='" + unitCode + '\'' +
                ", deptName='" + deptName + '\'' +
                ", batchCode='" + batchCode + '\'' +
                ", planNum='" + planNum + '\'' +
                ", unit='" + unit + '\'' +
                ", remark='" + remark + '\'' +
                ", state=" + status +
                '}';
    }
}
